package com.mrdeer.merchant.convert;

import com.mrdeer.merchant.vo.MerchantDetailVO;
import com.mrdeer.merchant.api.dto.MerchantDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author ：xie jianchu
 * @date ：Created in 2020/9/11 0011 11:38
 */
@Mapper
public interface MerchantDetailConvert {

    MerchantDetailConvert INSTANCE = Mappers.getMapper(MerchantDetailConvert.class);

    MerchantDetailVO dto2Vo(MerchantDTO merchantDTO);

    MerchantDTO vo2Dto(MerchantDetailVO vo);
}
